﻿@model XtremBiking.Web.Models.Rutinas.Serie

<script src="~/Scripts/jquery-1.8.2.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>

    <div class="modal-body">
         <div class="container">
        @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)
           
        <!-------->
            <div id="content">
                <ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
                    <li class="active"><a href="#Serie" data-toggle="tab">Trabajo Básico</a></li>
                    <li><a href="#Alternative" data-toggle="tab">Trabajo Alternativo</a></li>
                </ul>
                <div id="my-tab-content" class="tab-content">
                    <div class="tab-pane active" id="Serie">
                        <fieldset>
                           @*<h3 id="ModalSerie">Agregar Serie</h3>*@
                    
                            <div class="editor-label">
                                @Html.LabelFor(model => model.Work)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.Work)
                                @Html.ValidationMessageFor(model => model.Work)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.WorkTime)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.WorkTime)
                                @Html.ValidationMessageFor(model => model.WorkTime)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.Quantity)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.Quantity)
                                @Html.ValidationMessageFor(model => model.Quantity)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.PauseFlag)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.PauseFlag)
                                @Html.ValidationMessageFor(model => model.PauseFlag)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.PauseTime)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.PauseTime)
                                @Html.ValidationMessageFor(model => model.PauseTime)
                            </div>
                    
                        </fieldset>
                    </div>
                    <div class="tab-pane" id="Alternative">
                       @* <h1>Orange</h1>
                        <p>orange orange orange orange orange</p>*@
                        <fieldset>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.AlternativeWork)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.AlternativeWork)
                                @Html.ValidationMessageFor(model => model.AlternativeWork)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.AlternativeWorkTime)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.AlternativeWorkTime)
                                @Html.ValidationMessageFor(model => model.AlternativeWorkTime)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.AlternativeQuantity)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.AlternativeQuantity)
                                @Html.ValidationMessageFor(model => model.AlternativeQuantity)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.AlternativePauseFlag)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.AlternativePauseFlag)
                                @Html.ValidationMessageFor(model => model.AlternativePauseFlag)
                            </div>

                            <div class="editor-label">
                                @Html.LabelFor(model => model.AlternativePauseTime)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.AlternativePauseTime)
                                @Html.ValidationMessageFor(model => model.AlternativePauseTime)
                            </div>

                        </fieldset>
                    </div>
                </div>
             </div>
               @* <script type="text/javascript">
                    jQuery(document).ready(function ($) {
                        $('#tabs').tab();
                    });
                </script>  *@  

 
 

    
           @*    <fieldset>
                 <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="myModalLabel">Agregar Serie</h3>
                    </div>

                <div class="modal-body">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Work)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Work)
                    @Html.ValidationMessageFor(model => model.Work)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.WorkTime)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.WorkTime)
                    @Html.ValidationMessageFor(model => model.WorkTime)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.Quantity)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Quantity)
                    @Html.ValidationMessageFor(model => model.Quantity)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.PauseFlag)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.PauseFlag)
                    @Html.ValidationMessageFor(model => model.PauseFlag)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.PauseTime)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.PauseTime)
                    @Html.ValidationMessageFor(model => model.PauseTime)
                </div>

             <div class="editor-label">
                    @Html.LabelFor(model => model.AlternativeWork)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AlternativeWork)
                    @Html.ValidationMessageFor(model => model.AlternativeWork)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.AlternativeWorkTime)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AlternativeWorkTime)
                    @Html.ValidationMessageFor(model => model.AlternativeWorkTime)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.AlternativeQuantity)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AlternativeQuantity)
                    @Html.ValidationMessageFor(model => model.AlternativeQuantity)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.AlternativePauseFlag)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AlternativePauseFlag)
                    @Html.ValidationMessageFor(model => model.AlternativePauseFlag)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.AlternativePauseTime)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AlternativePauseTime)
                    @Html.ValidationMessageFor(model => model.AlternativePauseTime)
                </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
            <button class="btn btn-primary">Save changes</button>
                    <input type="submit" value="Create" />
          </div>
               <p>
                    <input type="submit" value="Create" />
                </p>
            </fieldset>
            *@


            
            }
             </div>
    </div>


<script type="text/javascript" src="~/Scripts/bootstrap.js"></script>